var options_validate = {
        rules:{
            given:{
                required:true
            },
            family:{
                required:true
            },
            firstname:{
                required:true
            },
            surname:{
                required:true
            },
            job:{
                required:true
            },
            exp:{
                required:true
            },
            ref:{
                required:true
            },
            email:{
                required:true,
                email: true
            },
             password:{
                required:true
            },
            mobile:{
                required:true,
                number: true
            }
            
        },
        messages:{
            name:{
                required: "This field is required"
            },
            email:{
                required: "This field is required",
                email: "Invalid email"
            },
            mobile:{
                required: "This field is required",
                number: "Invalid phone number"
            }
        },
        success: function(label) {
			// set &nbsp; as text for IE
			label.html("&nbsp;").addClass("checked");
        }

}
